<!DOCTYPE html>
<html>
<head>
<title>CSS3 media query test: 'not', 'and', 'only', 'or' are invalid media types.</title>
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/" />
<style type="text/css">
#t1::before, #t2::before, #t3::before, #t4::before { content: "PASS" }
@media not not { #t1::before { content: "FAIL" } }
@media not and { #t2::before { content: "FAIL" } }
@media not only { #t3::before { content: "FAIL" } }
@media not or { #t4::before { content: "FAIL" } }
</style>
</head>
<body>
<p>You should see four PASSes below.</p>
<div id="t1"></div>
<div id="t2"></div>
<div id="t3"></div>
<div id="t4"></div>
</body>
</html>
